#*{ You can use plain selenium command using the selenium tag }*
#
#{fixture delete:'all', load:'data.yml' /}
#{selenium}
	clearSession()

    // Open the home page, and check that no error occured
    open('/')
    waitForPageToLoad(5000)
    assertNotTitle('Application error')
    
    // Check that the header is present
    assertTextPresent('Geoloc'UPO')
    assertTextPresent('Accueil')
    assertTextPresent('Admin')
#{/selenium}

#{selenium 'Test the link of the homepage in header is available'}
	click('link=Geoloc'UPO')
	assertNotTitle('Application error')
#{/selenium}
